package com.axend.aerosense.common.bean;

import com.axend.aerosense.base.bean.BaseBean;
import com.axend.aerosense.common.R;

/**
 * @author ChenHongWei
 * @date :2020/12/25 14:03
 */

public class TitleBarBean extends BaseBean {

    private int backImageId;  //图片资源
    private boolean isShowBack;  //是否显示返回按钮
    private String titleText;  //标题文字
    private boolean isShowTitle;  //是否显示标题文字
    private String rightText;  //右边文字
    private boolean isShowRightText;  //是否显示右边文字
    private int rightImageId;  //右边图片资源
    private boolean isShowRightImage;  //是否显示右边图片

    public TitleBarBean(String titleText) {
        this.backImageId = R.drawable.back_ic_back;
        this.isShowBack = true;
        this.titleText = titleText;
        this.isShowTitle = true;
        this.rightText = "";
        this.isShowRightText = false;
        this.rightImageId = 0;
        this.isShowRightImage = false;
    }

    public TitleBarBean() {
    }

    public int getBackImageId() {
        return backImageId;
    }

    public void setBackImageId(int backImageId) {
        this.backImageId = backImageId;
    }

    public String getTitleText() {
        return titleText;
    }

    public void setTitleText(String titleText) {
        this.titleText = titleText;
    }

    public boolean isShowBack() {
        return isShowBack;
    }

    public void setShowBack(boolean showBack) {
        isShowBack = showBack;
    }

    public boolean isShowTitle() {
        return isShowTitle;
    }

    public void setShowTitle(boolean showTitle) {
        isShowTitle = showTitle;
    }

    public String getRightText() {
        return rightText;
    }

    public void setRightText(String rightText) {
        this.rightText = rightText;
    }

    public boolean isShowRightText() {
        return isShowRightText;
    }

    public void setShowRightText(boolean showRightText) {
        isShowRightText = showRightText;
    }

    public int getRightImageId() {
        return rightImageId;
    }

    public void setRightImageId(int rightImageId) {
        this.rightImageId = rightImageId;
    }

    public boolean isShowRightImage() {
        return isShowRightImage;
    }

    public void setShowRightImage(boolean showRightImage) {
        isShowRightImage = showRightImage;
    }
}
